/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package newDocument;

import javax.swing.text.Element;
import javax.swing.text.View;
import javax.swing.text.html.BlockView;
 
public class HTMLBlockView extends BlockView {

    public HTMLBlockView(Element elem) {
        super(elem,  View.Y_AXIS);
    }
 
    protected void layout(int width, int height) {
        long start=System.currentTimeMillis();
        if (width<Integer.MAX_VALUE) {
            super.layout(width, height);
        }
        long end=System.currentTimeMillis();
       // System.out.println("w="+width+" h="+height+" time="+(end-start));
    }
}